package io.renren.modules.user.service;

import com.baomidou.mybatisplus.extension.service.IService;
import io.renren.common.utils.PageUtils;
import io.renren.modules.user.entity.TPeopleOutEntity;

import java.util.Map;

/**
 * 人员退出表
 *
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2019-08-08 09:38:01
 */
public interface TPeopleOutService extends IService<TPeopleOutEntity> {

    PageUtils queryPage(Map<String, Object> params);


    PageUtils listPeopleOut(Map<String, Object> params);

    /**
     * 返聘
     * @param outEntity
     * @return
     */
    int rehireAfterRetirement(TPeopleOutEntity outEntity);
    /**
     * 返聘
     * @param outEntity
     * @return
     */
    int rehireAfterRetirements(TPeopleOutEntity outEntity);
}

